package com.salesys.tony.service;

import com.salesys.gr.dao.ConverDao;
import com.salesys.tony.domain.Conver;

public class ConverService {
	public String queryMarkPercentFromMarkSource(String markSource) {
		String markPercent = new ConverDao().queryMarkPercentFromMarkSource(markSource);
		return markPercent;
	}

	public int modifyMarkPercent(Conver con) {
		int affectRow = 0;
		do {
			affectRow = new ConverDao().modifyMarkPercent(con);
		} while (affectRow != 1);
		return affectRow;
	}
}
